<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<html>
<body>
<form class="form-inline" action="" method="post">从
  <div class="datepicker input-append">
    <input data-format="yyyy-MM-dd" type="text" value="${beginDate}" name="beginDate"></input>
    <span class="add-on">
      <i data-time-icon="icon-time" data-date-icon="icon-calendar">
      </i>
    </span>
  </div>
  到
  <div class="datepicker input-append">
    <input data-format="yyyy-MM-dd" type="text" value="${endDate}" name="endDate"></input>
    <span class="add-on">
      <i data-time-icon="icon-time" data-date-icon="icon-calendar">
      </i>
    </span>
  </div>
  <input type="hidden" name="isFirst" value="1"/>
  <button type="submit" class="btn">查询</button>
</form>
<table class="table table-bordered">
  <thead>
    <tr> 	 	 			 	
      <th>日期</th>
      <th>总DAU量</th>
      <th>在线峰值人数</th>
	  <th>充值金额(￥)</th> 
      <th>排麦人数</th>
      <th>排麦人次</th>
      <th>上麦大于1分钟人次</th>
    </tr>
  </thead>
  <tbody>
  <c:forEach var="m" items="${baseStat}">
    <tr>
      <td>${m.genDate}</td>
      <td>${m.allDau}</td>
      <td>${m.maxOnline}</td>
	  <td>${m.gold / 100}</td>
      <td>${m.upmikePeople}</td>
      <td>${m.upmikeTimes}</td>
      <td>${m.mikeTime1m} (${m.mikeTime1m*100/m.upmikeTimes}%)</td>
    </tr>
  </c:forEach>
  </tbody>
</table>
</body>
</html>